package cz.apnetis.gwt.client;

import com.google.gwt.core.client.GWT;
import com.google.gwt.resources.client.ClientBundle;
import com.google.gwt.resources.client.ImageResource;

/**
 * This {@link ImageResource} is used for all the button icons. Using an image
 * bundle allows all of these images to be packed into a single image, which
 * saves a lot of HTTP requests, drastically improving startup time.
 */
public interface ActionIconImages extends ClientBundle {

  public static final ActionIconImages INSTANCE =  GWT.create(ActionIconImages.class);

  @ClientBundle.Source("icon_add.gif")
  ImageResource icon_add();

  @ClientBundle.Source("icon_edit.gif")
  ImageResource icon_edit();

  @ClientBundle.Source("icon_remove.gif")
  ImageResource icon_remove();

  @ClientBundle.Source("icon_refresh.gif")
  ImageResource icon_refresh();

  @ClientBundle.Source("icon_ok.gif")
  ImageResource icon_ok();

  @ClientBundle.Source("icon_cancel.gif")
  ImageResource icon_cancel();

  @ClientBundle.Source("icon_help.gif")
  ImageResource icon_help();

  @ClientBundle.Source("icon_previous.gif")
  ImageResource icon_previous();

  @ClientBundle.Source("icon_next.gif")
  ImageResource icon_next();

  @ClientBundle.Source("icon_config.gif")
  ImageResource icon_config();
}
